import { Router } from 'react-router-dom'
import ReactDOM from 'react-dom'
import zh_CN from 'antd/lib/locale-provider/zh_CN'
import { ConfigProvider } from 'antd'
import history from 'utils/history'
import App from './App'
// 引入ant UI组件库
import 'antd/dist/antd.css' // or 'antd/dist/antd.less'

ReactDOM.render(
  <Router history={history}>
    <ConfigProvider locale={zh_CN}>
      <App />
    </ConfigProvider>
  </Router>,
  document.getElementById('root')
)
